package com.feri.pm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 20.角色权限关系表(SysRolePermission)表实体类
 *
 * @author makejava
 * @since 2023-03-26 10:40:28
 */
@Data
@TableName("sys_role_permission")
@NoArgsConstructor
public class SysRolePermission{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer roleId;
    private Integer permId;

    public SysRolePermission(Integer roleId, Integer permId) {
        this.roleId = roleId;
        this.permId = permId;
    }
}
